package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:25 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceProductDatabaseModelRelateDAO
    extends IDataAccessInterface<
        WorkspaceProductDatabaseModelRelate, WorkspaceProductDatabaseModelRelateDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE.ID";

  /** Mapped Field WORKSPACE_PRODUCT_DATABASE_RELATE_ID */
  static final String WorkspaceProductDatabaseRelateId =
      "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE.WORKSPACE_PRODUCT_DATABASE_RELATE_ID";

  /** Mapped Field MODEL_PCAKAGE_ID */
  static final String ModelPcakageId = "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE.MODEL_PCAKAGE_ID";

  /** Mapped Field LAST_UPDATE_TIME */
  static final String LastUpdateTime = "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE.LAST_UPDATE_TIME";

  /** Mapped Field SUBMITTER_ID */
  static final String SubmitterId = "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE.SUBMITTER_ID";

  /** Mapped Field SUBMITTER_NAME */
  static final String SubmitterName = "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE.SUBMITTER_NAME";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "WORKSPACE_PRODUCT_DATABASE_MODEL_RELATE.REMARKS";

  /** Mapped Attribute packageName */
  static final String PackageName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.model.dao.IProductModelPackageDAO.PackageName,
          com.ourteam.product.model.dao.IProductModelPackageDAO.EntityName + ".",
          "RELATED_PC6QLI_ProductModelPackage.");

  /** Mapped Attribute domainId */
  static final String DomainId =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.model.dao.IProductModelPackageDAO.DomainId,
          com.ourteam.product.model.dao.IProductModelPackageDAO.EntityName + ".",
          "RELATED_PC6QLI_ProductModelPackage.");

  /** Mapped Attribute domainName */
  static final String DomainName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.model.dao.IProductModelDomainDAO.DomainName,
          com.ourteam.product.model.dao.IProductModelDomainDAO.EntityName + ".",
          "RELATED_F32XVH_ProductModelDomain.");

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute workspaceProductDatabaseRelateId */
    static final String WorkspaceProductDatabaseRelateId = "workspaceProductDatabaseRelateId";

    /** Attribute modelPcakageId */
    static final String ModelPcakageId = "modelPcakageId";

    /** Attribute lastUpdateTime */
    static final String LastUpdateTime = "lastUpdateTime";

    /** Attribute submitterId */
    static final String SubmitterId = "submitterId";

    /** Attribute submitterName */
    static final String SubmitterName = "submitterName";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute packageName */
    static final String PackageName = "packageName";

    /** Attribute domainId */
    static final String DomainId = "domainId";

    /** Attribute domainName */
    static final String DomainName = "domainName";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceProductDatabaseModelRelate findById(final long id) throws Exception;
}
